<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<ui:composition template="./../template/template.xhtml">

	<ui:define name="content">
		<h:form>
			<div class="FORM_HEADER">Login Information View</div>
			<h:panelGrid columns="3" styleClass="APPLICATION_CONTENT"
				cellpadding="5">
				<h:outputText value="" />
				<h:inputHidden id="id" value="#{loginController.loginDTO.id}" />
				<h:outputText value="" />

				<h:outputLabel for="loginId" value="Login Id:" />
				<h:outputText id="loginId"
					value="#{loginController.loginDTO.loginId}" />
				<h:message for="loginId" />

				<h:outputLabel for="password" value="Password: " />
				<h:outputText id="password"
					value="#{loginController.loginDTO.password}" />
				<h:message for="password" />

				<h:outputLabel for="userType" value="User Type: " />
				<h:outputText id="userType"
					value="#{loginController.loginDTO.userType}" />
				<h:message for="userType" />
			</h:panelGrid>
			<h:panelGroup>
				<h:commandButton value="Print" action="#{loginController.save}">
					<f:param name="loginId" value="#{loginController.loginDTO.id}" />
				</h:commandButton>
				<h:commandButton value="Delete" action="#{loginController.save}">
					<f:param name="loginId" value="#{loginController.loginDTO.id}" />
				</h:commandButton>
			</h:panelGroup>
		</h:form>
	</ui:define>

</ui:composition>
</html>